package model;

import java.util.*;

public class Apartment
{
	private int id;
	private int nr;
	private String address;
	private ApartmentStatus status;
	private ArrayList<Installation> installations;
	private ApartmentType type;
	private Rent rent;
	
	
	
	
	public Apartment()
	{

	}

	public Apartment(int id)
	{
		this.id = id;
	}

	/* ACCESSORS */
	public int getId()
	{
		return id;
	}
	public int getNr()
	{
		return nr;
	}
	public String getAddress()
	{
		return address;
	}
	public ApartmentStatus getStatus()
	{
		return status;
	}
	public ArrayList<Installation> getInstallations()
	{
		return installations;
	}
	public ApartmentType getType()
	{
		return type;
	}
	/* MUTATORS */
	public void setId(int id)
	{
		this.id = id;
	}
	public void setNr(int nr)
	{
		this.nr = nr;
	}
	public void setAddress(String address)
	{
		this.address = address;
	}
	public void setStatus(ApartmentStatus status)
	{
		this.status = status;
	}
	public void setInstallations(ArrayList<Installation> installations)
	{
		this.installations = installations;
	}
	public void setType(ApartmentType type)
	{
		this.type = type;
	}

	//added 08-01-2015
	public Rent getRent()
	{
		return rent;
	}
	//added 08-01-2015
	public void setRent(Rent rent)
	{
		this.rent = rent;
	}
	
	

}
